﻿<MenuItem x:Class="IBTrader.Frontend.Connection.Menu" Header="Tws"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:my="clr-namespace:IBTrader.Frontend.Connection">

    <MenuItem Header="Connect" Command="{Binding Connect}" />
    <MenuItem Header="Disconnect" Command="{Binding Disconnect}" />
    <Separator/>
    <MenuItem Header="Autoconnect" IsCheckable="True" IsChecked="{Binding AutoConnect}" />

</MenuItem>
